package com.nbsaas.boot.site.data.entity;

import com.nbsaas.boot.code.annotation.FormAnnotation;
import com.nbsaas.boot.code.annotation.FormField;
import com.nbsaas.boot.jpa.data.entity.AbstractEntity;
import lombok.Data;
import org.hibernate.annotations.Comment;

import javax.persistence.Entity;
import javax.persistence.Table;


@FormAnnotation(title = "意见反馈")
@Data
@Entity
@Table(name = "bs_advise")
@org.hibernate.annotations.Table(appliesTo = "bs_advise", comment = "意见反馈")
public class Advise extends AbstractEntity {


    @Comment("您的公司")
    @FormField(title = "公司名称", grid = true, required = true, width = "220")
    private String companyName;


    @Comment("您的联系方式")
    @FormField(title = "联系方式", grid = true, width = "160")
    private String contactMethod;

    @Comment("对硬件产品的反馈")
    @FormField(title = "硬件产品的反馈")
    private String hardwareFeedback;

    @Comment("对软件产品的反馈")
    @FormField()
    private String softwareFeedback;

    @Comment("对售前人员的反馈")
    @FormField()
    private String preSalesFeedback;

    @Comment("对售后人员的反馈")
    @FormField()
    private String postSalesFeedback;

    @Comment("对财务人员的反馈")
    @FormField()
    private String financialFeedback;

    @Comment("对物流人员的反馈")
    @FormField()
    private String logisticsFeedback;
}
